package com.javafactroy.kunlong.data.entity;

import lombok.Data;

import com.javafactroy.kunlong.client.feign.dto.PageInfoDto;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author raymond.lei@163.com
 * @date 2023-10-25 23:49:24
 * @file AttDaysApiEntity.java
 * @company farben.sz.com
 */
@Data
@Table(name = "att_days")
//comment
public class AttDaysApiEntity extends PageInfoDto {

    @Id
    // 日表标识  dataType:int
    @Column(name = "days_id")
    Integer daysId;


    // 部门  dataType:int
    @Column(name = "department_id")
    Integer departmentId;


    // 员工  dataType:int
    @Column(name = "employee_id")
    Integer employeeId;


    // 周期 dataType:int
    @Column(name = "period_ym")
    Integer periodYm;


    // 日期 10正常班20加班30 休息班 dataType:date
    @Column(name = "workday")
    Date workday;


    // 星期  dataType:varchar
    @Column(name = "week")
    String week;


    // 出勤天数  dataType:decimal
    @Column(name = "r_workdays")
    BigDecimal rWorkdays;


    // 缺勤天数  dataType:decimal
    @Column(name = "absent_days")
    BigDecimal absentDays;


    // 出差  dataType:decimal
    @Column(name = "business_trip")
    BigDecimal businessTrip;


    // 有薪假  dataType:decimal
    @Column(name = "r_hdays_pay")
    BigDecimal rHdaysPay;


    // 无薪假  dataType:decimal
    @Column(name = "r_hdays")
    BigDecimal rHdays;


    // 休假单 {} dataType:varchar
    @Column(name = "hday_define")
    String hdayDefine;


    // 缺卡次数  dataType:int
    @Column(name = "no_card_times")
    Integer noCardTimes;


    // 加班工时  dataType:decimal
    @Column(name = "r_overtime")
    BigDecimal rOvertime;


    // 平时加班  dataType:decimal
    @Column(name = "r_overtime_normal")
    BigDecimal rOvertimeNormal;


    // 周休日加班  dataType:decimal
    @Column(name = "r_overtime_weekday")
    BigDecimal rOvertimeWeekday;


    // 节假日加班  dataType:decimal
    @Column(name = "r_overtime_holiday")
    BigDecimal rOvertimeHoliday;


    // 迟到次数  dataType:int
    @Column(name = "delay_times")
    Integer delayTimes;


    // 迟到分钟  dataType:int
    @Column(name = "delay_n")
    Integer delayN;


    // 早退次数  dataType:int
    @Column(name = "e_leave_times")
    Integer eLeaveTimes;


    // 早退分钟  dataType:int
    @Column(name = "e_leave_n")
    Integer eLeaveN;


    // 异常标识  dataType:bit
    @Column(name = "abnormal_flag")
    Boolean abnormalFlag;


    // 异常原因  dataType:varchar
    @Column(name = "abnormal")
    String abnormal;


    // 创建时间  dataType:datetime
    @Column(name = "created_at")
    Date createdAt;


    // 创建人  dataType:int
    @Column(name = "created_by")
    Integer createdBy;


}